﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace PetriNetSharp.Engine
{
	/// <summary>
	/// Interface for objecs that can be invaldated (no longer valid in the current petri net)
	/// </summary>
	public interface Iinvalidatable
	{

		/// <summary>
		/// Occurs when the object is invalidated
		/// </summary>
		event Action Invalidated;

		/// <summary>
		/// Invalidate the object
		/// </summary>
		void Invalidate();
	}
}
